﻿//-----------------------------------------------------------------------
// <copyright file="Phone.cs" company="OverrideThis">
//     Copyright (c) 2010 OverrideThis.com
// </copyright>
//-----------------------------------------------------------------------
namespace OverrideThis.ContactManager.Domain
{
    public class Phone : Contact
    {
        public Phone()
        {
            base.Type = ContactType.Phone;
        }

        public virtual string Number { get; set; }
        
        public virtual string Extension { get; set; }

        public override string Description
        {
            get { return string.Format("Phone: {0} {1}", Number, Extension); }
        }
    }
}